/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package rg1ticketapp;

/**
 *
 * @author apple
 */
public abstract class Ticket {
    double  price;

    public Ticket() {
    }

    public Ticket(double price) {
        this.price = price;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }
    
    public abstract double singlePrice();
}
